package com.neusoft.cloudstreamfeign.feign;

import com.neusoft.cloudstreamfeign.dto.Result;
import com.neusoft.cloudstreamfeign.dto.ServiceInfo;
import com.neusoft.cloudstreamfeign.dto.SiteInfo;

public class SiteServiceFallback implements SiteServiceClient{

    @Override
    public Result list(Integer pageNum, Integer pageSize, Long siteId, String serviceCode) {
        return Result.error("服务调用失败");
    }
    @Override
    public Result create(ServiceInfo serviceInfo) {
        return Result.error("服务调用失败");
    }
    @Override
    public Result update(ServiceInfo serviceInfo) {
        return Result.error("服务调用失败");
    }
    @Override
    public Result delete(ServiceInfo serviceInfo) {
        return Result.error("服务调用失败");
    }

    @Override
    public Result list1(Integer pageNum, Integer pageSize, String siteCode) {
        return Result.error("服务调用失败");
    }

    @Override
    public Result create1(SiteInfo siteInfo) {
        return Result.error("服务调用失败");
    }

    @Override
    public Result update1(SiteInfo siteInfo) {
        return Result.error("服务调用失败");
    }

    @Override
    public Result delete1(ServiceInfo serviceInfo) {
        return Result.error("服务调用失败");
    }

}
